<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			var  box = [2,22,3,36,78,90,1];
			for(var i=0;i<box.length;i++){
				var tiss;
				if(box[i]>box[i+1]){
					tiss =box[i];
					box[i]=box[i+1];
					box[i+1]=tiss;
				}
			}
			document.write(box[box.length-1]);
		</script>
	</body>
</html>
